package com.financing.wap.util;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 下拉选项工具类
 * @author Mars
 * @createDate 2014年8月28日
 */
public class SelectUtils {
	public final static String MAP_KEY = "code";
	public final static String MAP_VALUE = "value";

	public static List<Map<String,Object>> getSelectSex(){
		List<Map<String,Object>> selectList = new ArrayList<Map<String,Object>>();
		Map<String,Object> m0 = new HashMap<String,Object>();
		m0.put(MAP_KEY, "0");
		m0.put(MAP_VALUE, "未知");
		selectList.add(m0);
		
		Map<String,Object> m1 = new HashMap<String,Object>();
		m1.put(MAP_KEY, "1");
		m1.put(MAP_VALUE, "男");
		selectList.add(m1);
		
		Map<String,Object> m2 = new HashMap<String,Object>();
		m2.put(MAP_KEY, "2");
		m2.put(MAP_VALUE, "女");
		selectList.add(m2);
		
		Map<String,Object> m3= new HashMap<String,Object>();
		m3.put(MAP_KEY, "3");
		m3.put(MAP_VALUE, "隐私");
		selectList.add(m3);
		return selectList;
	}
	/**
	 * 理财师资格
	 * @return
	 */
	public static List<Map<String,Object>> getSelectCertType(){
		List<Map<String,Object>> selectList = new ArrayList<Map<String,Object>>();
		
		
		Map<String,Object> m1 = new HashMap<String,Object>();
		m1.put(MAP_KEY, "01");
		m1.put(MAP_VALUE, "证劵执业资格");
		selectList.add(m1);
		
		Map<String,Object> m2 = new HashMap<String,Object>();
		m2.put(MAP_KEY, "02");
		m2.put(MAP_VALUE, "基金执业资格");
		selectList.add(m2);
		
		Map<String,Object> m3= new HashMap<String,Object>();
		m3.put(MAP_KEY, "03");
		m3.put(MAP_VALUE, "期货执业资格");
		selectList.add(m3);
		
		Map<String,Object> m4 = new HashMap<String,Object>();
		m4.put(MAP_KEY, "04");
		m4.put(MAP_VALUE, "黄金投资分析师职业资格");
		selectList.add(m4);
		
		Map<String,Object> m5= new HashMap<String,Object>();
		m5.put(MAP_KEY, "05");
		m5.put(MAP_VALUE, "上海金交所交易员资格");
		selectList.add(m5);
		
		Map<String,Object> m6 = new HashMap<String,Object>();
		m6.put(MAP_KEY, "06");
		m6.put(MAP_VALUE, "理财规划师职业资格");
		selectList.add(m6);
		
		Map<String,Object> m7 = new HashMap<String,Object>();
		m7.put(MAP_KEY, "07");
		m7.put(MAP_VALUE, "保险咨询");
		selectList.add(m7);
		
		Map<String,Object> m8 = new HashMap<String,Object>();
		m8.put(MAP_KEY, "08");
		m8.put(MAP_VALUE, "港股投资咨询");
		selectList.add(m8);
		
		Map<String,Object> m9= new HashMap<String,Object>();
		m9.put(MAP_KEY, "09");
		m9.put(MAP_VALUE, "美国证券期货执业资格");
		selectList.add(m9);
		
		Map<String,Object> m10 = new HashMap<String,Object>();
		m10.put(MAP_KEY, "10");
		m10.put(MAP_VALUE, "金融理财师职业资格");
		selectList.add(m10);
		
		Map<String,Object> m11= new HashMap<String,Object>();
		m11.put(MAP_KEY, "11");
		m11.put(MAP_VALUE, "特许金融分析师资格");
		selectList.add(m11);
		
		Map<String,Object> m12 = new HashMap<String,Object>();
		m12.put(MAP_KEY, "12");
		m12.put(MAP_VALUE, "注册国际投资分析师资格");
		selectList.add(m12);
		
		return selectList;
		
	}
}
